package com.xyy.saas.payment.dao.model;

import java.util.Date;

/**
 * 预支付单详情
 *
 * @author automodel
 * @date   2019/12/17
 */
public class PrePayOrder {
    /**
     * 自增主键id
     */
    private Long id;

    /**
     * 交易单号
     */
    private String payNo;

    /**
     * 业务订单号
     */
    private String businessOrderNo;

    /**
     * 渠道订单号
     */
    private String channelPayNo;

    /**
     * 业务线名称
     */
    private String businessType;

    /**
     * 业务订单类型
     */
    private String businessOrderType;

    /**
     * 交易金额(分)
     */
    private Integer amount;

    /**
     * 收款方id
     */
    private String receiverId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 回调地址
     */
    private String callbackAddress;

    /**
     * 订单过期时间
     */
    private Date timeExpire;

    /**
     * 扩展信息
     */
    private String extra;

    /**
     * 付款人
     */
    private String payer;

    /**
     * 订单状态 1正常 2关闭
     */
    private Byte status;

    /**
     * 签约协议号
     */
    private String contractCode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getBusinessOrderNo() {
        return businessOrderNo;
    }

    public void setBusinessOrderNo(String businessOrderNo) {
        this.businessOrderNo = businessOrderNo;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getBusinessOrderType() {
        return businessOrderType;
    }

    public void setBusinessOrderType(String businessOrderType) {
        this.businessOrderType = businessOrderType;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCallbackAddress() {
        return callbackAddress;
    }

    public void setCallbackAddress(String callbackAddress) {
        this.callbackAddress = callbackAddress;
    }

    public String getChannelPayNo() {
        return channelPayNo;
    }

    public void setChannelPayNo(String channelPayNo) {
        this.channelPayNo = channelPayNo;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public Date getTimeExpire() {
        return timeExpire;
    }

    public void setTimeExpire(Date timeExpire) {
        this.timeExpire = timeExpire;
    }

    public String getPayer() {
        return payer;
    }

    public void setPayer(String payer) {
        this.payer = payer;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }
}